package demo.hw;

import java.util.Scanner;

/**
 * todo
 *
 * @author taqo
 * @date 2021/5/25
 */
public class _反转字符串 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine().toLowerCase();
        reverse(s);
    }

    private static void reverse(String s) {
        for (int i = s.length() - 1;i >=0; i--) {
            System.out.print(s.charAt(i));
        }
    }
}
